package com.lingxu.traffic.service;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.lingxu.module.process.controller.vo.IssmcVO;
import com.lingxu.traffic.dto.ProjectChangeDTO;
import com.lingxu.traffic.dto.ProjectOverviewDTO;
import com.lingxu.traffic.dto.ProjectWarningDTO;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @ClassName ProjectService
 * @Description 描述
 * @Author junyi.wang
 * @Date 2025/7/3 16:33
 */
//@DS("slave")
@Transactional
public interface ProjectService {

  Integer getProjectStatistics();


  List<Map<String, Object>> getProjectProgressList(String PROTYPE);


  ProjectOverviewDTO getProjectDetail(String projectName);

  Map<String,Long> getCountProjectStatus();

  Double getCountInvestment();

  List<Map<String,Object>> getCountProjectType();


  Integer getIssNum(String userId);

  IssmcVO getIssmc(String userId);

  Integer getBdNum(String projectId);

    List<Map<String, Object>> getProjectProgressGD();

    List<Map<String, Object>> getProjectProgressGH();


    ProjectOverviewDTO getGeneralOverview(String proType);

    ProjectOverviewDTO getGeneralOverviewGH(String proType);

    ProjectOverviewDTO getGeneralOverviewGD(String proType);

    List<ProjectChangeDTO> getChangeSupervise(String proType);

    List<ProjectWarningDTO> getWarningDataAnalyze();
}

